package com.joy.routes;

import com.jfinal.config.Routes;
import com.joy.controller.AdminController;
import com.joy.controller.FrontController;

public class AdminRoute extends Routes {
    @Override
    public void config() {
        setBaseViewPath("/view/admin");
        add("/admin", AdminController.class, "/");

    }
}
